package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.basic.pojo.dto.*;
import com.kaili.basic.pojo.entity.BaseMoveStoreEntity;
import com.kaili.basic.pojo.entity.BaseOutStoreEntity;
import com.kaili.basic.pojo.vo.*;
import com.kaili.common.response.RestStatus;

import java.util.HashMap;
import java.util.List;


public interface BaseOutStoreService extends IService<BaseOutStoreEntity> {

    RestStatus addOutStore(BaseOutStoreAddDTO addDto);

    RestStatus updateOutStore(BaseOutStoreEditDTO editDto);

    RestStatus auditOutStore(BaseOutStoreAuditDto auditDto)throws RuntimeException;

    RestStatus updateOutStoreLogistics(BaseOutStoreLogisticsEditDto editDto);

    Page<BaseOutStoreDetailVO> queryPageList(Page<BaseOutStoreDetailVO> baseOutStoreDetailVOPage, BaseOutStoreQueryDto queryDto);

    List<BaseOutStoreDetailVO> queryDetailByOrderNo(HashMap<String, Object> orderNo);

    BaseOutStoreDetailVO queryOutStoreDetail(HashMap<String, Object> map);

    List<BaseOutStoreExportVO> outStoreExport(BaseOutStoreQueryDto queryDto);

    Long queryStoreOrderNo();

    RestStatus addOutApply(BaseOutApplyAddDTO addDto) throws Exception;
}
